package com.zhkjnet.zhyy;

import com.zhkjnet.zhyy.bean.ZhApiConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "zhyy")
public class ZhyyConfiguration {

    /**
     * 密码盐
     */
    private String salt;

    private ZhApiConfig zh = new ZhApiConfig();

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public ZhApiConfig getZh() {
        return zh;
    }

    public void setZh(ZhApiConfig zh) {
        this.zh = zh;
    }
}
